package com.oa.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.oa.bean.User;

public interface PersonalService {

	public User getUserById(Integer uid);
	
	public Map<String,Object> getUserSectionRole(Integer uid);
	
	public Map<String,Object> getSectionRole();
	
	Integer addUser(User user);
	
	Map<String,Object> getUserList(Map<String,Object>map);
	
	String modifyInfor(User user);
	
	String delectUserInfo(int uid);
	
	String replaceUserImg(Integer uid,String fileName);
	
	String changePassWord(User user);
	
	User getUserByName(String userName);
	
	Set<String> getRole(String userName);
	
	String changeOtherPass(User user);
}
